package com.lianjinsu.shop.controller.dto;

import com.lianjinsu.shop.entity.Cart;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class CartDto extends Cart {

    private static final long serialVersionUID = 1731556467995401423L;

    private List<CartGoods> cartGoodsList;

    @Getter
    @Setter
    public static class CartGoods {
        private Integer goodsId;

        private AdhesiveType adhesiveType;

        private int num;
    }

    public enum AdhesiveType {
        WITH, WITHOUT
    }
}
